package com.mlethe.library.recyclerview.adapter;

import android.view.View;

import androidx.annotation.NonNull;

import com.mlethe.library.recyclerview.listener.MultiTypeSupport;
import com.mlethe.library.recyclerview.viewholder.ViewHolder;

import java.util.List;

/**
 * @author Mlethe
 * @date 2020/8/26
 */
public abstract class BaseQuickAdapter<T> extends BaseDraggableAdapter<T, ViewHolder> {
    public BaseQuickAdapter(int layoutId) {
        super(layoutId);
    }

    public BaseQuickAdapter(MultiTypeSupport<T> multiTypeSupport) {
        super(multiTypeSupport);
    }

    public BaseQuickAdapter(List<T> data, int layoutId) {
        super(data, layoutId);
    }

    public BaseQuickAdapter(List<T> data, MultiTypeSupport<T> multiTypeSupport) {
        super(data, multiTypeSupport);
    }

    @Override
    protected ViewHolder createViewHolder(@NonNull View view) {
        return new ViewHolder(view);
    }
}
